/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'
import store from '@/store/index'
import getters from '@/store/getters'


const tableRouter = {
  path: '/manage/information',
  component: Layout,
  redirect: '/manage/information',
  name: 'information',
  hidden:false,
  meta: {
    title: '信息管理',
    icon:'manageinfo'
  },
  children: [
    {
            path: 'teacherinfo',
            component: () => import('@/views/manage/information/teacherinfo/teacherinfo'),
            name: 'teacherinfo',
            meta: { title: '教师信息' }
          },
          {
            path: 'classinfo',
            component: () => import('@/views/manage/information/classinfo/classinfo'),
            name: 'classinfo',
            meta: { title: '教室信息' }
          },
          {
            path: 'monitorinfo',
            component: () => import('@/views/manage/information/monitorinfo/monitorinfo'),
            name: 'monitorinfo',
            meta: { title: '设备信息' }
          },
          {
            path: 'courseinfo',
            component: () => import('@/views/manage/information/courseinfo/courseinfo'),
            name: 'courseinfo',
            meta: { title: '课程信息' }
          },
          {
            path: 'curriculuminfo',
            component: () => import('@/views/manage/information/curriculuminfo/curriculuminfo'),
            name: 'curriculuminfo',
            meta: { title: '课程表信息' }
          },
  ]
}
export default tableRouter
